package com.dp.mallchat.common.common.event;

import com.dp.mallchat.common.user.domain.user.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: dupeng
 * @CreateTime: 2024-08-08  23:07
 * @Description: 用户下线事件
 */

@Getter
public class UserOfflineEvent extends ApplicationEvent {

    private User user;

    public UserOfflineEvent(Object source, User user) {
        super(source);
        this.user = user;
    }
}
